cmake_minimum_required(VERSION 2.8)
project( LineSegmentDetector )
set( OpenCV_STATIC ON )
find_package( OpenCV REQUIRED )
include_directories( ${OpenCV_INCLUDE_DIRS} )
add_executable( LineSegmentDetector LineSegmentDetector.cpp )
target_link_libraries( LineSegmentDetector ${OpenCV_LIBS} )